package com.skyme.automation.generate.common.db.impl.postgres;

import com.skyme.automation.generate.common.db.DBManagerBase;

public class PostgresDBManager extends DBManagerBase {

	public static final String ID = "PostgreSQL";

	public String getId() {
		return ID;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public String getDriverClassName() {
		return "org.postgresql.Driver";
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	protected String getURL() {
		return "jdbc:postgresql://<SERVER NAME>:<PORT>/<DB NAME>";
	}

	public int getDefaultPort() {
		return 5432;
	}

}
